<template>
  <div id="app">
    <Header />
    <Nav />
    <!-- <nav>
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link>
    </nav> -->
    <router-view />
    <Footer />
    <Login />
    <Tixing />
    <audio :src="$store.state.musesrc" controls autoplay></audio>
  </div>
</template>

<script>
import Header from "@/components/Header.vue";
import Nav from "@/components/Nav.vue";
import Footer from "@/components/Footer.vue";
import Login from "@/components/Login.vue";
import Tixing from "@/components/Tixing.vue";

export default {
  data() {
    return {};
  },
  components: {
    Header,
    Nav,
    Footer,
    Login,
    Tixing,
  },
};
</script>
<style lang="less">
.fade-enter-active,
.fade-leave-active {
  transition: opacity 1s;
}
.fade-enter,.fade-leave-to/* */ {
  opacity: 0;
}
#app {
  audio {
    width: 1100px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
}
</style>
